package com.mes.biz.service;

import com.github.pagehelper.PageInfo;
import com.mes.biz.domain.BizAfterSaleOrder;
import com.mes.biz.domain.BizConfig;
import com.mes.common.core.service.BaseService;

import java.util.List;

/**
 * 售后单Service接口
 * @author hwg
 * @email hwg
 * @date 2023-03-27
 */
public interface BizAfterSaleOrderService extends BaseService<BizAfterSaleOrder> {

    /**
     * 新增售后单
     * @param bizAfterSaleOrder
     * @return
     */
    boolean createAfterSaleOrder(BizAfterSaleOrder bizAfterSaleOrder);

    /**
     * 修改售后单
     * @param bizAfterSaleOrder
     * @return
     */
    boolean updateAfterSaleOrder(BizAfterSaleOrder bizAfterSaleOrder);


    boolean updateAppletAfterSaleOrder(BizAfterSaleOrder bizAfterSaleOrder);


    public PageInfo<BizAfterSaleOrder> appletList(BizAfterSaleOrder bizAfterSaleOrder);

    boolean update(BizAfterSaleOrder bizAfterSaleOrder);
}
